// 聊天室路由
const express = require('express');
const router = express.Router();
const chat_handler = require('../../routers_handler/front/chat');
// 发布消息
router.post('/api', chat_handler.publish);
// 获取消息
router.get('/', chat_handler.getMessages);
module.exports = router;